home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
015a
/
xmore103.zip
/
XMORE.DOC
< prev
next >
Wrap
Text File
|
1993-05-18
|
6KB
|
146 lines
XMORE v01.03.00 (18 MAY 1993)
Copyright (c) 1993, Professional Software Engineering
All rights reserved.
XMORE is a simple utility to allow you to use Vern Buerg's LIST program (the
finest text file view utility you can get, in my opinion) to view piped
(redirected) material, like so:
DIR|XMORE
would do a directory, and view it in LIST.
DIR is not what I'd normally use XMORE for though. I am a programmer, so I
use a number of tools, including string search utilities which run from the
DOS commandline, like so:
FGREP -i "Function"|XMORE
This will allow me to view the results (often quite lengthly) of the string
search.
To view an existing file:
XMORE < filename
XMORE coupled with LIST basically gives you a fully scrollable (and
searchable) MORE with me all of the file manipulation capabilities of LIST:
search, copy to file, print, edit (though you'd better save it to a different
filename), view in Hex, etc.
Since XMORE is pretty much a drop-in replacement for the DOS MORE command, it
does not accept any commandline parameters. Using commandline parameters
will simply bring up help.
There are two different XMORE executables included:
XMORE.EXE can run only .COM & .EXE programs
XMORE_B.EXE can run .BAT .COM or .EXE programs
Choose which you want to use, and rename it to XMORE (or whatever -- the
utility can be renamed to MORE as well without problems). XMORE_B is a bit
slower since it must run a copy of your command processor (usually
COMMAND.COM, but whatever is specified by the environment variable COMSPEC
will be used) before running the viewing program -- but it is capable of
running .BAT files. Since I personally use LIST (a .COM program) with XMORE,
I prefer the slightly speedier COM/EXE only version.
XMORE requires an external program to do the file viewing. By default, it
looks to run LIST (LIST.COM or LIST.EXE, and if running XMORE_B, LIST.BAT).
The restriction is that the program accept a single commandline parameter --
a filename.
There is an environment variable that the program can use if you set it
called XMORE. Reguardless of what you might rename the XMORE program to, the
environment variable will remain XMORE.
SET XMORE=program_to_use
So, to launch the MS-DOS EDITOR (included with v5.00 and later), you could
use:
SET XMORE=EDIT
or even:
SET XMORE=C:\DOS\EDIT.COM
if you wanted to specify the one and only program to run (if an entire path
is specified, the path will not be searched for another program by the same
filename).
XMORE, of course simply defaults to "LIST".
I don't warrant the program to work with anything but the intended LIST
program by Vern Buerg, but I don't see any potential problems with it running
with other programs (I have tested it with a variety of programs).
In short, if you use DOS MORE frequently, you might consider using XMORE. Or
if you ever redirect output to a file, launch a file viewer on that file, and
then delete the file when you are done, XMORE is the utility for you.
XMORE requires enough disk space to make a disk file with the redirected
information in it -- due to internal differences between one version of DOS
and the next, I decided not to have it try to locate the original filename of
the temporary file which DOS creates when redirecting output (a tricky task).
XMORE will create the temporary file in the directory specified by the
"XMOREDIR", "TEMP", "TMP", or "TMPDIR" environment variables (it uses the
first environment variable found, in that order), or the root directory of
the current drive.
Here's legal in your eyes:
This program must be distributed unmodified and in it's entirety (program
and this documentation). No files may be added to the archive (such as BBS
advertisements), ZIP (or other archive format) headers permitting, provided
that they do not claim ownership of the material. It is not to be bundled
with other software, Commercial, Shareware, Freeware, or otherwise.
So-called "shareware" disk distribution sites must contact me for approval
before distributing this software if they charge in excess of $3.95 per disk.
Failure to comply with these requirements will subject you to prosecution to
the full extent provided by U.S. Copyright Law, including provisions from the
Berne Convention.
The standard disclaimer applies:
This program works for me within the (actually quite complex) environment in
which I use it. I make no warranty that it will work in all environments or
on all hardware platforms. I cannot be held responsible for any damages which
may result from it's use. By using this software, you agree to hold Sean
Straw / Professional Software Engineering clear of any liability for damages,
including but not limited to, lost data, damaged hardware, and loss of income.
Your mileage may vary. Void where prohibited.
However, should you encounter problems with this program, I would like to
hear about them so that I may attempt to correct the problems (time and
equipment permitting).
This program is Shareware. I don't ask much for it -- a paltry US $5.00.
And that if you use LIST that you register it (with it's author).
I am in no way associated with Vern Buerg. My mentioning of him and his
utility should not be construed as an endorsement of his product, nor as an
endorsement by him of mine. With any luck, he may build a similar capability
directly into his program.
Send registrations to:
Sean Straw
Professional Software Engineering
Post Box 2395
San Rafael, CA 94912-2395
Please be sure to state "Registration for XMORE", and the version number when
registering.
A $15.00 service charge will be levied on returned cheques.